﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VatTuDTO;
using VatTuDAO;



namespace VatTuBUS1
{
   public  class LoaiNguoiDungBUS
    {
       public LoaiNguoiDungDTO SelectLoaiNguoiDung(int maLoaiNguoiDung)
       {
           return new LoaiNguoiDungDAO().SelectLoaiNguoiDung(maLoaiNguoiDung);
       }

       public List<LoaiNguoiDungDTO> SelectLoaiNguoiDung()
       {
           return new LoaiNguoiDungDAO().SelectLoaiNguoiDung();
       }

       public List<LoaiNguoiDungDTO> SelectLoaiNguoiDung(string tenLoaiNguoiDung)
       {
           return new LoaiNguoiDungDAO().SelectLoaiNguoiDung(tenLoaiNguoiDung);
       }
       public Boolean InsertNguoiDung(NguoiDungDTO NguoiDung)
       {
           return new LoaiNguoiDungDAO().InsertNguoiDung(NguoiDung);
       }
       public Boolean UpdateLoaiNguoiDung(LoaiNguoiDungDTO loainguoidung)
       {
           return new LoaiNguoiDungDAO().UpdateLoaiNguoiDung(loainguoidung);
       }
       public Boolean DeleteLoaiNguoiDung(int MaLoaiNguoiDung)
       {
           return new LoaiNguoiDungDAO().DeleteLoaiNguoiDung(MaLoaiNguoiDung);
       }


     
    }
}
